package com.jgzx.redis.config;

/**
 * @author jackesy
 * @className: CacheKeyEnum
 * @description: 缓存key枚举类
 * @create 2021/2/4 16:57
 **/
public enum CacheKeyEnum {

    SYS_CODE("sys_code:", "字典表"),
    ENTERPRISE_PARAM("enterprise_param:", "企业参数"),
    LOCK_KEY("lock_key:", "分布式锁"),
    RESUBMIT_KEY("resubmit_key:", "表单重复提交"),
    BILL_CODE_KEY("bill_code:", "单据编号"),
    BIZ_CODE_KEY("biz_code:", "业务编号"),
    ;

    private String value;
    private String name;

    CacheKeyEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }

    public String getValue() {
        return value;
    }
}
